.PHONY: help
help: ## Show this help
	@egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'


.PHONY: mklink
mklink: ## Make symbolic links to the dotfiles
	@echo "\n# Making symbolic links to the dotfiles\n"
	bash ./scripts/mklink.sh

.PHONY: restore
restore: ## Restore the dotfiles
	@echo "\n# Restoring the dotfiles\n"
	bash ./scripts/restore.sh

.PHONY: rmbak
rmbak: ## Remove the backup files
	@echo "\n# Removing the backup files\n"
	bash ./scripts/rmbak.sh
